<div id="Main_mod_SendPetition" ng-controller="RPController" >
	<h4>Here you can View the Campaig from this authkey (double click on it to modify) = </h4>
	<span  class="editable" ng-hide="otroEdit">
	   <span ng-dblclick="editAuth()">{{key}}</span><br/>
	</span>
	<form ng-submit="doneEditing()" ng-show="otroEdit">
    <input ng-model="key" />
	   <button type="submit" ng-click = "hola(key)" class="btn btn-successes">Refresh</button>
	</form>
	<table class="table table-striped">
		<tbody>
				<tr>
					<td>Promo Id</td>
					<td>Offer Type</td>
					<td>Promo_Title</td>
					<td>Source App</td>
				</tr>
		
	  			<tr ng-repeat="phone in phones.promos  | orderBy:'sourceapp'">
					<td>{{phone.promoid}}</td>
				    <td>{{phone.offertype}}</td>
				    <td>{{phone.promo_title}}</td>
				    <td>{{phone.sourceapp}}</td>
			  	</tr>
	  	</tbody>
				
	</table>

</div>